package nzb;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class NzbFile {
	
	private String 			poster;
	private Date 			date;
	private String 			subject;
	private String  		fileName;
	private List<String>	groups;
	private List<Segment>	segments;
	
	public NzbFile(String poster, Date date, String subject)
	{
		this.poster		= poster;
		this.date		= date;
		this.subject	= subject;
		groups 		= new ArrayList<String>();
		segments	= new ArrayList<Segment>();
	}
	
	public String getPoster() {
		return poster;
	}
	public void setPoster(String poster) {
		this.poster = poster;
	}
	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public String getSubject() {
		return subject;
	}
	public void setSubject(String subject) {
		this.subject = subject;
	}
	public String getFileName() {
		return fileName;
	}
	public void setFileName(String fileName) {
		this.fileName = fileName;
	}
	public List<String> getGroups() {
		return groups;
	}
	public void setGroups(List<String> groups) {
		this.groups = groups;
	}
	public List<Segment> getSegments() {
		return segments;
	}
	public void setSegments(List<Segment> segments) {
		this.segments = segments;
	}

	@Override
	public String toString() {
		return "NzbFile [poster=" + poster + ", date=" + date + ", subject="
				+ subject + ", fileName=" + fileName + ", groups=" + groups
				+ ", segments=" + segments + "]";
	}
	
	
}
